package com.example.cslp.service;

import com.example.cslp.pojo.entity.Notice;
import org.springframework.http.ResponseEntity;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface NoticeService {
    //创建公告
    Boolean createNotice(Notice notice);
    //编辑公告
    Boolean editNotice(Notice notice);

    //查询公告
    List<Notice> queryNotice();

    //删除公告
    Boolean deleteNotice(Notice notice);
}
